
package com.wyzz.hr.pojo;

import java.util.*;

import com.wyzz.hr.base.ComonBeans;
import com.wyzz.hr.pojo.base.BaseIodef;

public class Iodef extends BaseIodef {

	public Iodef() {
		iomatchs = new HashSet(0);
		paramMap = new HashMap();
	}

	public Iodef(String ioId) {
		super(ioId);
		iomatchs = new HashSet(0);
		paramMap = new HashMap();
	}

	public Iodef(String ioId, String ioName, Integer ioType,
			Integer ioFilePath, Integer ioFileHasTitle, Integer ioMatchType,
			Integer ioModule, String ioAuthority, String ioClassName,
			String ioFetchNames, Date ioCreateTime, Date ioLastChangeTime) {
		super(ioId, ioName, ioType, ioFilePath, ioFileHasTitle, ioMatchType,
				ioModule, ioAuthority, ioClassName, ioFetchNames, ioCreateTime,
				ioLastChangeTime);
		iomatchs = new HashSet(0);
		paramMap = new HashMap();
	}

	public Set getIomatchs() {
		return iomatchs;
	}

	public void setIomatchs(Set iomatchs) {
		this.iomatchs = iomatchs;
	}

	public List getTransmitList() {
		return transmitList;
	}

	public void setTransmitList(List transmitList) {
		this.transmitList = transmitList;
	}

	public Map getParamMap() {
		return paramMap;
	}

	public void setParamMap(Map paramMap) {
		this.paramMap = paramMap;
	}

	public void setIoModule(Integer ioModule) {
		super.setIoModule(ioModule);
		if (ioModule != null)
			ioModuleMean = ComonBeans.getParameterValue(PROP_IO_MODULE,
					new String[] { ioModule.toString() });
		else
			ioModuleMean = null;
	}

	public void setIoIsExtend(Integer ioIsExtend) {
		super.setIoIsExtend(ioIsExtend);
		if (ioIsExtend != null)
			ioIsExtendMean = ComonBeans.getParameterValue(PROP_IO_IS_EXTEND,
					new String[] { ioIsExtend.toString() });
		else
			ioIsExtendMean = null;
	}

	public void setIoType(Integer ioType) {
		super.setIoType(ioType);
		if (ioType != null)
			ioTypeMean = ComonBeans.getParameterValue(PROP_IO_TYPE,
					new String[] { ioType.toString() });
		else
			ioTypeMean = null;
	}

	public void setAllMaps() {
		ioIsExtendMap = ComonBeans.getValuesToMap(PROP_IO_IS_EXTEND,
				new boolean[0]);
		ioModuleMap = ComonBeans.getValuesToMap(PROP_IO_MODULE, new boolean[0]);
		ioTypeMap = ComonBeans.getValuesToMap(PROP_IO_TYPE, new boolean[0]);
	}

	public String getIoModuleMean() {
		return ioModuleMean;
	}

	public String getIoIsExtendMean() {
		return ioIsExtendMean;
	}

	public String getIoTypeMean() {
		return ioTypeMean;
	}

	public Map getIoModuleMap() {
		return ioModuleMap;
	}

	public Map getIoIsExtendMap() {
		return ioIsExtendMap;
	}

	public Map getIoTypeMap() {
		return ioTypeMap;
	}

	public List getOmbList() {
		return ombList;
	}

	public List getImbList() {
		return imbList;
	}

	public void setOmbList(List ombList) {
		this.ombList = ombList;
	}

	public void setImbList(List imbList) {
		this.imbList = imbList;
	}

	private static final long serialVersionUID = 1L;
	private List transmitList;
	private Set iomatchs;
	private Map paramMap;
	private String ioModuleMean;
	private String ioIsExtendMean;
	private String ioTypeMean;
	private Map ioModuleMap;
	private Map ioIsExtendMap;
	private Map ioTypeMap;
	private List ombList;
	private List imbList;
}
